package dating.service;

import java.io.Serializable;
import java.util.List;

import dating.model.Persistent;

public interface GenericServiceLocal<E extends Persistent, PK extends Serializable> {

	E save(E entity);
	
	void delete(E entity);
	
	E findByPK(PK key);
	
	List<E> findAll();
	
}
